package com.ae.service.impl;

import com.ae.mapper.AdminMapper;
import com.ae.pojo.Admin;
import com.ae.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther ys
 * @Date 2020/10/21
 * 17:17
 */
@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    private AdminMapper adminMapper;

    @Override
    public Admin selectByUsername(String username) {
        Admin admin = adminMapper.selectByUsername(username);
        return admin;
    }
}
